import {TopBar} from './TopBar';
import Layout from './Layout';
import React from 'react';

type Props = {
  title: string
}
const SettingLayout: React.FC<Props> = (props) => {
  return (
    <Layout>
      <TopBar value={props.title}/>
      <div className='scroll'>
        {props.children}
      </div>
    </Layout>
  );
};

export {SettingLayout};